package cn.wikiflyer.beikang.act.cart;

import java.util.ArrayList;
import java.util.List;

import cn.wikiflyer.beikang.act.user.bean.BKAddressResultBean;
import android.content.Context;

/**保存地址单例
 */
public class AddressData {
	
	private static AddressData instance = null;
	private Context context;
	private ArrayList<BKAddressResultBean> addressBeans = null;
	
	public AddressData(Context context) {
		super();
		this.context = context;
	}
	public static AddressData getInstance(Context context){
		if (instance == null) {
			instance = new AddressData(context);
		}
		return instance;
	}
	public ArrayList<BKAddressResultBean> getListData(){
		return addressBeans;
	}
	public void setListData(ArrayList<BKAddressResultBean> addressList){
		addressBeans = addressList;
	}

}
